<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Dimble's Playground » \ProfileFieldController</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Dimble's Playground</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                    API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Auth.html"><i class="icon-folder-open"></i> Auth</a></li>
<li><a href="../packages/Database.html"><i class="icon-folder-open"></i> Database</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Infraestructure.html"><i class="icon-folder-open"></i> Infraestructure</a></li>
<li><a href="../packages/Rights.html"><i class="icon-folder-open"></i> Rights</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                    Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                    Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
                <span class="label label-info">418</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
                <ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
                <span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
                            Javascript is disabled; several features are only available
                            if Javascript is enabled.
                        </div></noscript>
<div class="row">
<div class="span4">
<div class="btn-toolbar">
<div class="btn-group visibility" data-toggle="buttons-checkbox">
<button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button>
</div>
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i title="Methods" class="icon-custom icon-method"></i> Methods
                    <ul>
<li class="method public "><a href="#method_accessRules" title="accessRules() :: Specifies the access control rules."><span class="description">Specifies the access control rules.</span><pre>accessRules()</pre></a></li>
<li class="method public "><a href="#method_actionAdmin" title="actionAdmin() :: Manages all models."><span class="description">Manages all models.</span><pre>actionAdmin()</pre></a></li>
<li class="method public "><a href="#method_actionCreate" title="actionCreate() :: Creates a new model."><span class="description">Creates a new model.</span><pre>actionCreate()</pre></a></li>
<li class="method public "><a href="#method_actionDelete" title="actionDelete() :: Deletes a particular model."><span class="description">Deletes a particular model.</span><pre>actionDelete()</pre></a></li>
<li class="method public "><a href="#method_actionUpdate" title="actionUpdate() :: Updates a particular model."><span class="description">Updates a particular model.</span><pre>actionUpdate()</pre></a></li>
<li class="method public "><a href="#method_actionView" title="actionView() :: Displays a particular model."><span class="description">Displays a particular model.</span><pre>actionView()</pre></a></li>
<li class="method public "><a href="#method_fieldType" title="fieldType() :: MySQL field type"><span class="description">MySQL field type</span><pre>fieldType()</pre></a></li>
<li class="method public "><a href="#method_filters" title="filters() :: "><span class="description">filters()
        </span><pre>filters()</pre></a></li>
<li class="method public "><a href="#method_getWidgets" title="getWidgets() :: "><span class="description">getWidgets()
        </span><pre>getWidgets()</pre></a></li>
<li class="method public "><a href="#method_loadModel" title="loadModel() :: Returns the data model based on the primary key given in the GET variable."><span class="description">Returns the data model based on the primary key given in the GET variable.</span><pre>loadModel()</pre></a></li>
<li class="method public "><a href="#method_registerScript" title="registerScript() :: Register Script"><span class="description">Register Script</span><pre>registerScript()</pre></a></li>
</ul>
</li>
<li class="nav-header protected">» Protected
                    <ul><li class="method protected "><a href="#method_performAjaxValidation" title="performAjaxValidation() :: Performs the AJAX validation."><span class="description">Performs the AJAX validation.</span><pre>performAjaxValidation()</pre></a></li></ul>
</li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
                    <ul>
<li class="property public "><a href="#property_defaultAction" title="$defaultAction() :: "><span class="description"></span><pre>$defaultAction</pre></a></li>
<li class="property public "><a href="#property_layout" title="$layout() :: "><span class="description"></span><pre>$layout</pre></a></li>
</ul>
</li>
<li class="nav-header private">» Private
                    <ul>
<li class="property private "><a href="#property__model" title="$_model() :: "><span class="description">the currently loaded data model instance.</span><pre>$_model</pre></a></li>
<li class="property private "><a href="#property__widgets" title="$_widgets() :: "><span class="description"></span><pre>$_widgets</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\ProfileFieldController"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/ProfileFieldController.html">ProfileFieldController</a>
</li>
</ul>
<div class="element class">
<p class="short_description">Controller is the customized base controller class.</p>
<div class="details">
<div class="long_description">All controller classes for this application should extend from this base class.</div>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method_accessRules"></a><div class="element clickable method public method_accessRules" data-toggle="collapse" data-target=".method_accessRules .collapse" title="public">
<h2>Specifies the access control rules.</h2>
<pre>accessRules() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description">This method is used by the 'accessControl' filter.</div>
<h3>Returns</h3>
<div class="subelement response">
<code>array</code>access control rules</div>
</div></div>
</div>
<a id="method_actionAdmin"></a><div class="element clickable method public method_actionAdmin" data-toggle="collapse" data-target=".method_actionAdmin .collapse" title="public">
<h2>Manages all models.</h2>
<pre>actionAdmin() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_actionCreate"></a><div class="element clickable method public method_actionCreate" data-toggle="collapse" data-target=".method_actionCreate .collapse" title="public">
<h2>Creates a new model.</h2>
<pre>actionCreate() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description">If creation is successful, the browser will be redirected to the 'view' page.</div></div></div>
</div>
<a id="method_actionDelete"></a><div class="element clickable method public method_actionDelete" data-toggle="collapse" data-target=".method_actionDelete .collapse" title="public">
<h2>Deletes a particular model.</h2>
<pre>actionDelete() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description">If deletion is successful, the browser will be redirected to the 'index' page.</div></div></div>
</div>
<a id="method_actionUpdate"></a><div class="element clickable method public method_actionUpdate" data-toggle="collapse" data-target=".method_actionUpdate .collapse" title="public">
<h2>Updates a particular model.</h2>
<pre>actionUpdate() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description">If update is successful, the browser will be redirected to the 'view' page.</div></div></div>
</div>
<a id="method_actionView"></a><div class="element clickable method public method_actionView" data-toggle="collapse" data-target=".method_actionView .collapse" title="public">
<h2>Displays a particular model.</h2>
<pre>actionView() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_fieldType"></a><div class="element clickable method public method_fieldType" data-toggle="collapse" data-target=".method_fieldType .collapse" title="public">
<h2>MySQL field type</h2>
<pre>fieldType(mixed $type) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$type</h4><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_filters"></a><div class="element clickable method public method_filters" data-toggle="collapse" data-target=".method_filters .collapse" title="public">
<h2>filters()
        </h2>
<pre>filters() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>array</code>action filters</div>
</div></div>
</div>
<a id="method_getWidgets"></a><div class="element clickable method public method_getWidgets" data-toggle="collapse" data-target=".method_getWidgets .collapse" title="public">
<h2>getWidgets()
        </h2>
<pre>getWidgets($fieldType<code> = ''</code>) </pre>
<div class="labels"><span class="label">Static</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$fieldType</h4></div>
</div></div>
</div>
<a id="method_loadModel"></a><div class="element clickable method public method_loadModel" data-toggle="collapse" data-target=".method_loadModel .collapse" title="public">
<h2>Returns the data model based on the primary key given in the GET variable.</h2>
<pre>loadModel() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description">If the data model is not found, an HTTP exception will be raised.</div></div></div>
</div>
<a id="method_registerScript"></a><div class="element clickable method public method_registerScript" data-toggle="collapse" data-target=".method_registerScript .collapse" title="public">
<h2>Register Script</h2>
<pre>registerScript() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_performAjaxValidation"></a><div class="element clickable method protected method_performAjaxValidation" data-toggle="collapse" data-target=".method_performAjaxValidation .collapse" title="protected">
<h2>Performs the AJAX validation.</h2>
<pre>performAjaxValidation($model) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$model</h4></div>
</div></div>
</div>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property_defaultAction"> </a><div class="element clickable property public property_defaultAction" data-toggle="collapse" data-target=".property_defaultAction .collapse" title="public">
<h2>$defaultAction</h2>
<pre>$defaultAction </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>'admin'</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_layout"> </a><div class="element clickable property public property_layout" data-toggle="collapse" data-target=".property_layout .collapse" title="public">
<h2>$layout</h2>
<pre>$layout </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>'//layouts/column2'</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__model"> </a><div class="element clickable property private property__model" data-toggle="collapse" data-target=".property__model .collapse" title="private">
<h2>the currently loaded data model instance.</h2>
<pre>$_model : <a href="CActiveRecord.html">\CActiveRecord</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__widgets"> </a><div class="element clickable property private property__widgets" data-toggle="collapse" data-target=".property__widgets .collapse" title="private">
<h2>$_widgets</h2>
<pre>$_widgets </pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"><span class="label">Static</span></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
            generated on 2014-02-03T11:03:56-02:00.<br></footer></div>
</div>
</body>
</html>
